package com.leha.mp.core.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.ResourceBundle;

/**
 * 
 * @author Binary Wang
 *
 */
public class WxMpConfig {

  private static final String token = ResourceBundle.getBundle("wx").getString("token");

  private static final String appid = ResourceBundle.getBundle("wx").getString("appid");

  private static final String secret = ResourceBundle.getBundle("wx").getString("secret");

  private static final String aesKey = ResourceBundle.getBundle("wx").getString("aesKey");


  public static String getToken() {
    return token;
  }

  public static String getAppid() {
    return appid;
  }

  public static String getSecret() {
    return secret;
  }

  public static String getAesKey() {
    return aesKey;
  }

}
